package com.xiaoze.provider.controller;


import com.xiaoze.provider.sender.PaymentNotifySender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaoze
 * @date 2018/6/7
 */
@RestController
public class ProviderController {

    @Autowired
    private PaymentNotifySender sender;

    @GetMapping("/")
    public String test_sender() {
        sender.sender("支付订单号："+System.currentTimeMillis());
        return "发了";
    }

}
